#include <cstdio>
#include <cstdlib>
struct WEAPON
{
	int damage;
	int radius;
	char *name;
};

// Define the weapons

void init_weapons(WEAPON *arms[20])
{
	for (int i = 0;i < 20;++i)
	{
		arms[i] = new WEAPON;
		arms[i]->damage = rand()%30;
		arms[i]->radius = rand()%20;
		char *name = NULL;
		sprintf(name,"Weapon %d",i+1);
		arms[i]->name = name;
	}
}
